Storefront has been decoupled into micro-frontends with a dedicated commerce app and shared shell.

Read the architecture guide →

Order Cancellation Command Channel

Kafka topic owned by the contributor team carrying Finance order-cancellation commands consumed by Notification API to send cancellation emails.

KafkaTopic

Purpose & Scope

This topic transports order-cancellation notification commands published by Order OrchestrationServicev1.0.0Order OrchestrationMessage-driven Finance workflow service that coordinates post-checkout basket cleanup and order notifications using Dura...PublishesPlaceOrderCommand, DeleteBasketCompleteCommand +3SubscribesUserCheckedOutIntegrationEvent, OrderStatusChangedToCompleteIntegrationEvent +3APIsAsyncAPIOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs after an order transitions to cancelled. Notification APIServicev1.0.0Notification APIInternal background worker that consumes order commands from Kafka, renders MJML email templates, and submits mail over ...SubscribesPlaceOrderCommand, CancelOrderCommand +1APIsAsyncAPIOwnerplatform-engineering-teamDiagramRepositoryOpen docs consumes these commands to submit a cancellation email when valid customer contact details are present. No delivery confirmation is sent back to Finance.

Channel Specification

PropertyValue
Bounded Context / OwnerOrderingDomainv1.0.0OrderingCreates durable Orders from a buyer's current basket, locks purchase-time pricing, and owns order lifecycle transitions ...Ownercommerce-fulfillment-teamDiagramOpen docs / Commerce Fulfillment TeamTeamCommerce Fulfillment TeamStream-Aligned team owning customer shopping baskets, checkout coordination, order lifecycle, and financial saga orchest...Open docs
Channel TypeTopic
Address Patternbookworm.{env}.finance.cancel-order
Parametersenv (development, staging, production; default: development)
Protocol & Envelope FormatKafka + CloudEvents JSON (application/json)
Partition Key & Ordering GuaranteeKeyed by orderId; preserves per-order command ordering within a partition
Delivery SemanticsAt-least-once
Dead-Letter ChannelNotification Dead Letter QueueChannelv1.0.0Notification Dead Letter QueueKafka dead-letter topic owned by the platform team that captures order notification commands that Notification API could...Ownerplatform-engineering-teamOpen docs

Messages & Participants

MessageTypeProducerConsumer(s)Consumer Group
Send order cancelled notificationCommandv1.0.0Send order cancelled notificationShared Finance cancellation command consumed by Notification to render and submit a canceled-order email. Ownerplatform-engineering-teamSchemaDiagramOpen docsCommandOrder OrchestrationServicev1.0.0Order OrchestrationMessage-driven Finance workflow service that coordinates post-checkout basket cleanup and order notifications using Dura...PublishesPlaceOrderCommand, DeleteBasketCompleteCommand +3SubscribesUserCheckedOutIntegrationEvent, OrderStatusChangedToCompleteIntegrationEvent +3APIsAsyncAPIOwnercommerce-fulfillment-teamDiagramRepositoryOpen docsNotification APIServicev1.0.0Notification APIInternal background worker that consumes order commands from Kafka, renders MJML email templates, and submits mail over ...SubscribesPlaceOrderCommand, CancelOrderCommand +1APIsAsyncAPIOwnerplatform-engineering-teamDiagramRepositoryOpen docsNotification service consumer

Ordering, Retries & Failure Handling

Channel Details & Visualization

Channel information

Address: bookworm.{env}.finance.cancel-order
Protocol:
  • kafka
Type: Topic

ParameterDescriptionOptionsDefault
envBookWorm deployment environment.development, staging, productiondevelopment